package com.globalwave.common.service;

import com.globalwave.common.ArrayOrderList;
import com.globalwave.common.ArrayPageList;
import com.globalwave.common.entity.File;
import com.globalwave.common.entity.FileCriterion;

public interface FileService {
    
    public ArrayPageList<File> query(
            FileCriterion fileCriterion, 
            int pageIndex, 
            int pageSize,
            ArrayOrderList orderList) 
    throws Exception ;
    
    public File create(File file) throws Exception ;
    public void update(File file) throws Exception ;
    public void delete(File file) throws Exception ;
    public void deleteAll(Long[] fileIds) throws Exception ;
    
    public java.io.File get(Long id) throws Exception ;
}
